<?php

/*****
 * Q-Shop 商城二次开发平台。
 * email: Raven.Liu@163.com
 * @author liuran
 * @copyright 2009
 */
if (!defined('EASYSHOP_FLAG'))
 define('EASYSHOP_FLAG', true);

global $g_boot_time;
$g_boot_time = microtime(true);

$app_config = require(dirname(__FILE__) . '/data/config/boot.php');
 
require $app_config['QEEPHP_DIR'] . '/library/q.php';
require $app_config['APP_DIR'] . '/siteapp.php';

$ret = SiteApp::instance($app_config)->dispatching();
if (is_string($ret)) echo $ret;

return $ret;
 
?>
